Commit e24bb0ed authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman

staging: dgnc: remove NULL test

This NULL test is not required as iounmap will validate the argument.
Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 60acb623
......@@ -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);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment