OSDN Git Service

staging: kpc2000: simplify comparison to NULL in fileops.c
authorSimon Sandström <simon@nikanor.nu>
Thu, 4 Jul 2019 06:08:11 +0000 (08:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jul 2019 08:40:44 +0000 (10:40 +0200)
commit5d1532482943403eb11911898565628fa45863d7
treef0ac3b744daad0e0429a1ce58b2245f554f614e7
parenta50d99d40199db24e0c321457bd3da2df107dd71
staging: kpc2000: simplify comparison to NULL in fileops.c

Fixes checkpatch warning "Comparison to NULL could be written [...]".

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Link: https://lore.kernel.org/r/20190704060811.10330-4-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc_dma/fileops.c