提交 e24bb0ed 编写于 作者: S Sudip Mukherjee 提交者: Greg Kroah-Hartman

staging: dgnc: remove NULL test

This NULL test is not required as iounmap will validate the argument.
Signed-off-by: NSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 60acb623
...@@ -1307,6 +1307,5 @@ static void cls_vpd(struct dgnc_board *brd) ...@@ -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);
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册