core: Remove dead assignments and unused imports from function
core: Remove dead assignments and unused imports from function

Designist/sympy,Titan-C/sympy,jamesblunt/sympy,pandeyadarsh/sympy,wyom/sympy,cccfran/sympy,sahmed95/sympy,saurabhjn76/sympy,AunShiLord/sympy,sahmed95/sympy,bukzor/sympy,lidavidm/sympy,Sumith1896/sympy,AunShiLord/sympy,atsao72/sympy,lidavidm/sympy,shipci/sympy,liangjiaxing/sympy,aktech/sympy,lindsayad/sympy,Arafatk/sympy,Vishluck/sympy,jamesblunt/sympy,Designist/sympy,atreyv/sympy,abhiii5459/sympy,Curious72/sympy,liangjiaxing/sympy,AunShiLord/sympy,rahuldan/sympy,VaibhavAgarwalVA/sympy,saurabhjn76/sympy,hargup/sympy,MechCoder/sympy,ga7g08/sympy,asm666/sympy,shikil/sympy,jbbskinny/sympy,skidzo/sympy,Sumith1896/sympy,emon10005/sympy,amitjamadagni/sympy,sampadsaha5/sympy,pbrady/sympy,sunny94/temp,Mitchkoens/sympy,Shaswat27/sympy,beni55/sympy,shikil/sympy,shipci/sympy,yashsharan/sympy,pandeyadarsh/sympy,shipci/sympy,kaushik94/sympy,saurabhjn76/sympy,garvitr/sympy,iamutkarshtiwari/sympy,diofant/diofant,Designist/sympy,chaffra/sympy,Shaswat27/sympy,lindsayad/sympy,kevalds51/sympy,jerli/sympy,farhaanbukhsh/sympy,VaibhavAgarwalVA/sympy,oliverlee/sympy,MridulS/sympy,cswiercz/sympy,moble/sympy,cccfran/sympy,Sumith1896/sympy,farhaanbukhsh/sympy,ahhda/sympy,AkademieOlympia/sympy,maniteja123/sympy,kevalds51/sympy,sunny94/temp,emon10005/sympy,wyom/sympy,kmacinnis/sympy,Curious72/sympy,emon10005/sympy,kumarkrishna/sympy,ahhda/sympy,hargup/sympy,sahilshekhawat/sympy,MridulS/sympy,lindsayad/sympy,drufat/sympy,hrashk/sympy,asm666/sympy,minrk/sympy,sampadsaha5/sympy,sampadsaha5/sympy,hrashk/sympy,jaimahajan1997/sympy,jamesblunt/sympy,jbbskinny/sympy,madan96/sympy,moble/sympy,atsao72/sympy,Davidjohnwilson/sympy,dqnykamp/sympy,MechCoder/sympy,madan96/sympy,skidzo/sympy,yashsharan/sympy,postvakje/sympy,dqnykamp/sympy,postvakje/sympy,minrk/sympy,Mitchkoens/sympy,ga7g08/sympy,Arafatk/sympy,Vishluck/sympy,grevutiu-gabriel/sympy,beni55/sympy,abloomston/sympy,rahuldan/sympy,hrashk/sympy,postvakje/sympy,yashsharan/sympy,shikil/sympy,abhiii5459/sympy,liangjiaxing/sympy,grevutiu-gabriel/sympy,toolforger/sympy,bukzor/sympy,MechCoder/sympy,jerli/sympy,amitjamadagni/sympy,jaimahajan1997/sympy,oliverlee/sympy,mafiya69/sympy,kaichogami/sympy,iamutkarshtiwari/sympy,yukoba/sympy,jerli/sympy,garvitr/sympy,pbrady/sympy,aktech/sympy,atreyv/sympy,wanglongqi/sympy,skirpichev/omg,meghana1995/sympy,toolforger/sympy,grevutiu-gabriel/sympy,maniteja123/sympy,vipulroxx/sympy,VaibhavAgarwalVA/sympy,atreyv/sympy,madan96/sympy,Shaswat27/sympy,oliverlee/sympy,drufat/sympy,kevalds51/sympy,Davidjohnwilson/sympy,chaffra/sympy,debugger22/sympy,souravsingh/sympy,cswiercz/sympy,Davidjohnwilson/sympy,pbrady/sympy,iamutkarshtiwari/sympy,dqnykamp/sympy,Vishluck/sympy,meghana1995/sympy,hargup/sympy,kmacinnis/sympy,debugger22/sympy,jaimahajan1997/sympy,skidzo/sympy,abloomston/sympy,flacjacket/sympy,souravsingh/sympy,AkademieOlympia/sympy,mafiya69/sympy,aktech/sympy,ChristinaZografou/sympy,Gadal/sympy,wyom/sympy,lidavidm/sympy,Arafatk/sympy,ga7g08/sympy,abloomston/sympy,bukzor/sympy,chaffra/sympy,wanglongqi/sympy,asm666/sympy,kaichogami/sympy,abhiii5459/sympy,Gadal/sympy,sunny94/temp,yukoba/sympy,moble/sympy,Curious72/sympy,srjoglekar246/sympy,kmacinnis/sympy,wanglongqi/sympy,MridulS/sympy,toolforger/sympy,meghana1995/sympy,atsao72/sympy,mafiya69/sympy,kaushik94/sympy,Gadal/sympy,ChristinaZografou/sympy,sahmed95/sympy,drufat/sympy,sahilshekhawat/sympy,jbbskinny/sympy,kumarkrishna/sympy,kumarkrishna/sympy,cccfran/sympy,vipulroxx/sympy,cswiercz/sympy,mcdaniel67/sympy,vipulroxx/sympy,yukoba/sympy,rahuldan/sympy,farhaanbukhsh/sympy,sahilshekhawat/sympy,beni55/sympy,pandeyadarsh/sympy,kaichogami/sympy,AkademieOlympia/sympy,kaushik94/sympy,Titan-C/sympy,souravsingh/sympy,ChristinaZografou/sympy,Titan-C/sympy,mcdaniel67/sympy,ahhda/sympy,maniteja123/sympy,mcdaniel67/sympy,garvitr/sympy,debugger22/sympy,Mitchkoens/sympy