Re: [PATCH] Remove useless FIND_FIRST_BIT() macro from cardbus.c.

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

 



On Mon, 8 Jan 2007 20:20:28 -0500 (EST) Robert P. J. Day wrote:

> 
>   Delete the definition of the unused FIND_FIRST_BIT() macro.
> 
> Signed-off-by: Robert P. J. Day <[email protected]>
> 
> ---
> 
>   this macro seems safely deletable, given that there is no other
> reference to that macro anywhere in the entire source tree and,
> besides, one should use find_first_bit() anyway.
> 
>   it's not clear who the official maintainer is for this subsystem
> these days.

I believe that it should go to (from MAINTAINERS):

PCMCIA SUBSYSTEM
P:	Linux PCMCIA Team
L:	[email protected]
L:	http://lists.infradead.org/mailman/listinfo/linux-pcmcia
T:	git kernel.org:/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git
S:	Maintained

> diff --git a/drivers/pcmcia/cardbus.c b/drivers/pcmcia/cardbus.c
> index 2d7effe..a1bd763 100644
> --- a/drivers/pcmcia/cardbus.c
> +++ b/drivers/pcmcia/cardbus.c
> @@ -40,8 +40,6 @@
> 
>  /*====================================================================*/
> 
> -#define FIND_FIRST_BIT(n)	((n) - ((n) & ((n)-1)))
> -
>  /* Offsets in the Expansion ROM Image Header */
>  #define ROM_SIGNATURE		0x0000	/* 2 bytes */
>  #define ROM_DATA_PTR		0x0018	/* 2 bytes */
> -

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux