caif: Fix function NULL pointer check.
authorSjur Braendeland <sjur.brandeland@stericsson.com>
Tue, 21 Sep 2010 11:44:45 +0000 (11:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2010 01:05:31 +0000 (18:05 -0700)
commite5e03ce1e5c6c015cabf274b24976dff408dc07f
tree678a2979a820f2ec3e99b26561a8eff2d35c0267
parentb04367df66eb63444d38c43d15f5e39499d85ae6
caif: Fix function NULL pointer check.

Check that receive function pointer is not null before calling it.

Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_dev.c