Remove dead, broken code.
Remove dead, broken code.

This is dead, because SubPlan is an Expr node and therefore cannot appear
in a Plan tree.

This was broken, because the "subplan = (SubPlan *) subplan" cast didn't
do anything, and subplan was potentially uninitialized. It meant to say
"subplan = (SubPlan *) plan".

Spotted by Daniel Gustafsson.

Chibin/gpdb,kaknikhil/gpdb,royc1/gpdb,atris/gpdb,edespino/gpdb,cjcjameson/gpdb,CraigHarris/gpdb,royc1/gpdb,cjcjameson/gpdb,edespino/gpdb,rvs/gpdb,rubikloud/gpdb,ashwinstar/gpdb,zaksoup/gpdb,ahachete/gpdb,50wu/gpdb,jmcatamney/gpdb,lisakowen/gpdb,0x0FFF/gpdb,janebeckman/gpdb,Quikling/gpdb,xinzweb/gpdb,randomtask1155/gpdb,edespino/gpdb,xuegang/gpdb,atris/gpdb,rvs/gpdb,chrishajas/gpdb,foyzur/gpdb,xuegang/gpdb,CraigHarris/gpdb,ahachete/gpdb,tangp3/gpdb,royc1/gpdb,lpetrov-pivotal/gpdb,jmcatamney/gpdb,zaksoup/gpdb,janebeckman/gpdb,edespino/gpdb,yuanzhao/gpdb,cjcjameson/gpdb,janebeckman/gpdb,greenplum-db/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,lpetrov-pivotal/gpdb,kaknikhil/gpdb,adam8157/gpdb,royc1/gpdb,kaknikhil/gpdb,rvs/gpdb,Chibin/gpdb,xuegang/gpdb,rvs/gpdb,lintzc/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,lpetrov-pivotal/gpdb,randomtask1155/gpdb,rvs/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,CraigHarris/gpdb,tangp3/gpdb,lpetrov-pivotal/gpdb,foyzur/gpdb,yuanzhao/gpdb,chrishajas/gpdb,xinzweb/gpdb,zaksoup/gpdb,rubikloud/gpdb,greenplum-db/gpdb,rvs/gpdb,rubikloud/gpdb,lisakowen/gpdb,tangp3/gpdb,xuegang/gpdb,edespino/gpdb,lintzc/gpdb,CraigHarris/gpdb,rubikloud/gpdb,randomtask1155/gpdb,0x0FFF/gpdb,0x0FFF/gpdb,0x0FFF/gpdb,adam8157/gpdb,ashwinstar/gpdb,rubikloud/gpdb,lpetrov-pivotal/gpdb,yuanzhao/gpdb,chrishajas/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,adam8157/gpdb,50wu/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,edespino/gpdb,ahachete/gpdb,atris/gpdb,50wu/gpdb,ahachete/gpdb,randomtask1155/gpdb,xinzweb/gpdb,jmcatamney/gpdb,xuegang/gpdb,xinzweb/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,Quikling/gpdb,janebeckman/gpdb,rvs/gpdb,foyzur/gpdb,xuegang/gpdb,janebeckman/gpdb,zaksoup/gpdb,lintzc/gpdb,Chibin/gpdb,Chibin/gpdb,zaksoup/gpdb,ashwinstar/gpdb,foyzur/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,cjcjameson/gpdb,edespino/gpdb,rvs/gpdb,greenplum-db/gpdb,xuegang/gpdb,janebeckman/gpdb,chrishajas/gpdb,Chibin/gpdb,lisakowen/gpdb,CraigHarris/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,rubikloud/gpdb,CraigHarris/gpdb,atris/gpdb,ahachete/gpdb,yuanzhao/gpdb,Quikling/gpdb,edespino/gpdb,kaknikhil/gpdb,zaksoup/gpdb,rubikloud/gpdb,ahachete/gpdb,ashwinstar/gpdb,tangp3/gpdb,ahachete/gpdb,yuanzhao/gpdb,randomtask1155/gpdb,greenplum-db/gpdb,foyzur/gpdb,janebeckman/gpdb,chrishajas/gpdb,atris/gpdb,chrishajas/gpdb,zaksoup/gpdb,chrishajas/gpdb,Chibin/gpdb,lisakowen/gpdb,royc1/gpdb,adam8157/gpdb,foyzur/gpdb,tangp3/gpdb,adam8157/gpdb,Chibin/gpdb,Chibin/gpdb,kaknikhil/gpdb,rubikloud/gpdb,lisakowen/gpdb,lintzc/gpdb,50wu/gpdb,foyzur/gpdb,rvs/gpdb,randomtask1155/gpdb,randomtask1155/gpdb,Chibin/gpdb,ashwinstar/gpdb,xinzweb/gpdb,zaksoup/gpdb,atris/gpdb,royc1/gpdb,Quikling/gpdb,chrishajas/gpdb,CraigHarris/gpdb,50wu/gpdb,xinzweb/gpdb,yuanzhao/gpdb,Quikling/gpdb,lpetrov-pivotal/gpdb,tangp3/gpdb,edespino/gpdb,atris/gpdb,janebeckman/gpdb,lintzc/gpdb,lpetrov-pivotal/gpdb,xinzweb/gpdb,foyzur/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,xinzweb/gpdb,ashwinstar/gpdb,lintzc/gpdb,CraigHarris/gpdb,Quikling/gpdb,lpetrov-pivotal/gpdb,lintzc/gpdb,Chibin/gpdb,50wu/gpdb,lisakowen/gpdb,adam8157/gpdb,rvs/gpdb,adam8157/gpdb,tangp3/gpdb,royc1/gpdb,jmcatamney/gpdb,edespino/gpdb,lintzc/gpdb,royc1/gpdb,tangp3/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,janebeckman/gpdb,Quikling/gpdb,xuegang/gpdb,adam8157/gpdb,50wu/gpdb,ahachete/gpdb,lisakowen/gpdb,jmcatamney/gpdb,janebeckman/gpdb,yuanzhao/gpdb,Quikling/gpdb,Quikling/gpdb,50wu/gpdb,greenplum-db/gpdb,randomtask1155/gpdb,CraigHarris/gpdb,jmcatamney/gpdb,atris/gpdb,lisakowen/gpdb,Quikling/gpdb,ashwinstar/gpdb,lintzc/gpdb,xuegang/gpdb