Re: [patch-2.3.99-pre6-5] drivers/block/floppy.c cleanup

From: Tigran Aivazian (tigran@veritas.com)
Date: Sun Apr 23 2000 - 11:33:04 EST


On Sat, 22 Apr 2000, Jeff Garzik wrote:

> Tigran Aivazian wrote:
> > -static void register_devfs_entries (int drive);
> > +static void register_devfs_entries (int drive) __init;
>
> Marking prototypes as __init is ugly and unnecessary IMNSHO, but making
> a function's __init status obvious to code readers might be considered a
> good thing.
>
> Jeff

the <linux/init.h> said to do it so I did it :)

I did check and indeed it seems unnecessary but I assumed there must be a
reason.

Regards,
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:22 EST