net/rds/ib.c:115:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values.

From: kbuild test robot
Date: Thu Feb 23 2017 - 07:47:47 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bc49a7831b1137ce1c2dda1c57e3631655f5d2ae
commit: be2f76eacc278c272f26d46e4168efe5a55f5383 RDS: IB: Add vector spreading for cqs
date: 7 weeks ago


coccinelle warnings: (new ones prefixed by >>)

>> net/rds/ib.c:115:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values.

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation