diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-10-03 20:52:46 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 09:30:13 +0100 |
commit | e24bb0ed81795731c8cca4d3ecbac04862fbf128 (patch) | |
tree | bbe490bef902931aa5538c3b2f3ed968e36af354 /drivers/staging/dgnc | |
parent | 60acb623c9f9431e84485a10347dab7e4801b3e1 (diff) |
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>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_cls.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/dgnc/dgnc_cls.c b/drivers/staging/dgnc/dgnc_cls.c index 24fc28c0c966..944982a46e4b 100644 --- a/drivers/staging/dgnc/dgnc_cls.c +++ b/drivers/staging/dgnc/dgnc_cls.c @@ -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); } |