Re: [PATCH 2/2] conditionally #ifdef-out unused DiB3000M-C/P defs

From: Adrian Bunk
Date: Thu Dec 22 2005 - 21:04:09 EST


On Wed, Dec 21, 2005 at 02:52:44PM +0100, Marc Koschewski wrote:
> This removes the declarations as well.

> *** dibusb.h-orig 2005-12-21 14:49:08.000000000 +0100
> --- dibusb.h 2005-12-21 14:49:30.000000000 +0100
> *************** struct dibusb_state {
> *** 104,111 ****
> --- 104,113 ----
>
> extern struct i2c_algorithm dibusb_i2c_algo;
>
> + #ifdef CONFIG_DVB_USB_DIBUSB_MC
> extern int dibusb_dib3000mc_frontend_attach(struct dvb_usb_device *);
> extern int dibusb_dib3000mc_tuner_attach (struct dvb_usb_device *);
> + #endif
>...

There's no need to #ifdef function declarations away.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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