From: Namrata A Shettar Date: Sun, 18 Sep 2016 09:05:13 +0000 (+0530) Subject: staging: vt6655: device_main: Replace explicit NULL comparison X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8f4166d888cb41b112ea38ceb037ba2f4f156c5b;p=linux-beck.git staging: vt6655: device_main: Replace explicit NULL comparison Replace NULL comparison to resolve checkpatch issue. - x == NULL => !x Signed-off-by: Namrata A Shettar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index ed12b5c7fe43..aea4179dd2d4 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -735,7 +735,7 @@ static bool device_alloc_rx_buf(struct vnt_private *priv, struct vnt_rd_info *rd_info = rd->rd_info; rd_info->skb = dev_alloc_skb((int)priv->rx_buf_sz); - if (rd_info->skb == NULL) + if (!rd_info->skb) return false; rd_info->skb_dma =