1
0
Fork 0

staging: dgnc: remove NULL test

This NULL test is not required as iounmap will validate the argument.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Sudip Mukherjee 2015-10-03 20:52:46 +05:30 committed by Greg Kroah-Hartman
parent 60acb623c9
commit e24bb0ed81
1 changed files with 1 additions and 2 deletions

View File

@ -1307,6 +1307,5 @@ static void cls_vpd(struct dgnc_board *brd)
}
pr_info("\n");
if (re_map_vpdbase)
iounmap(re_map_vpdbase);
iounmap(re_map_vpdbase);
}