mac802154: use WARN_ON() macro
authorVarka Bhadram <varkabhadram@gmail.com>
Tue, 23 Jun 2015 06:11:03 +0000 (11:41 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 23 Jul 2015 15:10:48 +0000 (17:10 +0200)
commit8f451829dd97fb22f03844ca52a49828e2e1d666
tree05b1b95656fd6a925d8e80b62c3dc0c49d1555cd
parent301d7d42a207e0d4f5bf11c7e2b6862ddebc8c36
mac802154: use WARN_ON() macro

This patch will generate the warning if the required driver ops
were not defined. Also it removes unnecessary debug message.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/mac802154/main.c