diff options
author | Sandhya Bankar <bankarsandhya512@gmail.com> | 2016-09-19 14:42:24 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-20 13:57:19 +0200 |
commit | f432bc81415d7592e664485701c55dc5c6672a3b (patch) | |
tree | 14b74e314dde406d8935a4a659586a732b88b507 /drivers/staging/rts5208 | |
parent | e29cebe90120b4ceb5e707cee55ad65427420216 (diff) |
Staging: rts5208: ms: Use x instead of x != NULL.
Use x instead of x != NULL. This patch was found by checkpatch.
Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rts5208')
-rw-r--r-- | drivers/staging/rts5208/ms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts5208/ms.c b/drivers/staging/rts5208/ms.c index f927ba66f7ed..6afddeae13af 100644 --- a/drivers/staging/rts5208/ms.c +++ b/drivers/staging/rts5208/ms.c @@ -4077,7 +4077,7 @@ void ms_free_l2p_tbl(struct rtsx_chip *chip) struct ms_info *ms_card = &chip->ms_card; int i = 0; - if (ms_card->segment != NULL) { + if (ms_card->segment) { for (i = 0; i < ms_card->segment_cnt; i++) { vfree(ms_card->segment[i].l2p_table); ms_card->segment[i].l2p_table = NULL; |