OSDN Git Service

staging: kpc2000: simplify comparison to NULL in dma.c
authorSimon Sandström <simon@nikanor.nu>
Thu, 4 Jul 2019 06:08:10 +0000 (08:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jul 2019 08:40:44 +0000 (10:40 +0200)
commita50d99d40199db24e0c321457bd3da2df107dd71
treeb7c7328a34507b4e4e1290df7b5a458512149ce0
parent209ff937b0d4d70bb054890a8c1722cec3fc70fe
staging: kpc2000: simplify comparison to NULL in dma.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-3-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc_dma/dma.c