소스 검색

mtd: maps: rbtx4939-flash: delete an unused variable in rbtx4939_flash_remove

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Atsushi Nemoto 11 년 전
부모
커밋
e4c4c9c15e
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      drivers/mtd/maps/rbtx4939-flash.c

+ 0 - 2
drivers/mtd/maps/rbtx4939-flash.c

@@ -35,8 +35,6 @@ static int rbtx4939_flash_remove(struct platform_device *dev)
 		return 0;
 
 	if (info->mtd) {
-		struct rbtx4939_flash_data *pdata = dev_get_platdata(&dev->dev);
-
 		mtd_device_unregister(info->mtd);
 		map_destroy(info->mtd);
 	}