staging: vt6655: device_main: Replace explicit NULL comparison

Replace NULL comparison to resolve checkpatch issue.
- x == NULL => !x

Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Namrata A Shettar 2016-09-18 14:35:13 +05:30 committed by Greg Kroah-Hartman
parent c9573a8d19
commit 8f4166d888
1 changed files with 1 additions and 1 deletions

View File

@ -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 =