Search Linux Wireless

Re: [PATCH 12/30] rt2x00: Store firmware in memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 19 August 2007 20:25:39 Ivo van Doorn wrote:
> +void rt2x00lib_free_firmware(struct rt2x00_dev *rt2x00dev)
> +{
> +	if (rt2x00dev->fw) {

No !=NULL check is needed.

> +		release_firmware(rt2x00dev->fw);
> +		rt2x00dev->fw = NULL;
> +	}
> +}

-- 
Greetings Michael.
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux