Fix build warnings in cmd_flash.c
authorRemy Bohmer <linux@bohmer.net>
Sat, 19 Feb 2011 18:56:28 +0000 (19:56 +0100)
committerRemy Bohmer <linux@bohmer.net>
Sat, 19 Feb 2011 19:32:38 +0000 (20:32 +0100)
commit3a26c43e422c514f17297302adde8d743349ccf9
tree5173783a2b5577193ab7692623743413ec8761f3
parente4ae66608bbf8b7be9162e5933a98905dcf52d6b
Fix build warnings in cmd_flash.c

These variables are only used in case CONFIG_SYS_NO_FLASH is NOT set:
struct mtd_device *dev;
struct part_info *part;
u8 dev_type, dev_num, pnum;

Signed-off-by: Remy Bohmer <linux@bohmer.net>
common/cmd_flash.c