[linux-pm] [RFC] PowerOP take 3, PowerOP core 1/5

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

 



On Thursday 20 July 2006 12:50 pm, Eugeny S. Mints wrote:
> +static int __init powerop_init(void)
> +{
> +       return 0;
> +}
> +
> +static void __exit powerop_exit(void)
> +{
> +}
> +
> +module_init(powerop_init);
> +module_exit(powerop_exit);

Best to delete useless code like that.  :)

And you should be grabbing that mutex to register/unregister the arch
methods table, otherwise there's little point in having it ...


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux