Commit 8f4166d8 authored by Namrata A Shettar's avatar Namrata A Shettar Committed by Greg Kroah-Hartman

staging: vt6655: device_main: Replace explicit NULL comparison

Replace NULL comparison to resolve checkpatch issue.
- x == NULL => !x
Signed-off-by: default avatarNamrata A Shettar <namrataashettar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c9573a8d
......@@ -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 =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment