tipc: remove an unnecessary NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 27 Apr 2016 08:05:28 +0000 (11:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Apr 2016 20:54:12 +0000 (16:54 -0400)
commitb43586576e54609f7970096478cf4113de18a4db
tree7f72b93db5130316fb3e8ad8398b09e228788944
parent6b87663fbe4a366e558d6566b3e6b6bc227da5a1
tipc: remove an unnecessary NULL check

This is never called with a NULL "buf" and anyway, we dereference 's' on
the lines before so it would Oops before we reach the check.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/subscr.c