summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-06-08 20:06:40 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2015-06-09 07:44:23 (GMT)
commit9a4d3d4ba17c93def2b4dc3126eba30716d15469 (patch)
treee95ba5f010feb0a861a2f99b7e3c686849fbdcde /include/asm-generic
parente66890a96abbb746e1229c3067471be36dc49b34 (diff)
downloadlinux-9a4d3d4ba17c93def2b4dc3126eba30716d15469.tar.xz
mac802154/iface: remove superfluous WARN_ON call in slave_open()
This call was used before we aligned our code with the wireless code base. We are wanted to handle this in the err: code path. Which would actually not work because the WARN_ON() macro would reset the res value to 0 and thus we would never hit err:. Removing it makes the code do what we actually intend. Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions