On Tue, Nov 25, 2014 at 04:34:43PM +0530, Varka Bhadram wrote: > 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> Acked-by: Alexander Aring <alex.aring@xxxxxxxxx> -- 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