mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-15 22:21:29 +00:00
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>
This commit is contained in:
parent
e29cebe901
commit
f432bc8141
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user