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>
This commit is contained in:
Sudip Mukherjee 2015-10-03 20:52:46 +05:30 committed by Greg Kroah-Hartman
parent 60acb623c9
commit e24bb0ed81

View file

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