Hi Varka, > Removes unnecessary if statement check for net device. Error check performed > after alloc_netdev(). > > ndev = alloc_netdev(sizeof(*sdata) + local->hw.vif_data_size, name, > NET_NAME_UNKNOWN, ieee802154_if_setup); > if (!ndev) > return ERR_PTR(-ENOMEM); > .. > > Signed-off-by: Varka Bhadram <varkab@xxxxxxx> > --- > net/mac802154/iface.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html