Skip to content

Commit

Permalink
mtd: bfin-async-flash: Remove unused variable
Browse files Browse the repository at this point in the history
Avoid the following compile warning:

drivers/mtd/maps/bfin-async-flash.c: In function 'bfin_flash_probe':
drivers/mtd/maps/bfin-async-flash.c:129: warning: unused variable 'ret'

Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
  • Loading branch information
Aaron Sierra authored and Brian Norris committed Oct 22, 2014
1 parent 9c35006 commit a72fe6b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mtd/maps/bfin-async-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ static const char * const part_probe_types[] = {

static int bfin_flash_probe(struct platform_device *pdev)
{
int ret;
struct physmap_flash_data *pdata = dev_get_platdata(&pdev->dev);
struct resource *memory = platform_get_resource(pdev, IORESOURCE_MEM, 0);
struct resource *flash_ambctl = platform_get_resource(pdev, IORESOURCE_MEM, 1);
Expand Down

0 comments on commit a72fe6b

Please sign in to comment.