ss.h: unnecessary bit-field

Komuro komurojun-mbn at nifty.com
Thu Jul 22 08:07:52 EDT 2010


Hi,

>> include/pcmcia/ss.h
>> 
>> >	/* socket setup is done so resources should be able to be allocated.
>> >	 * Only if set to 1, calls to find_{io,mem}_region are handled, and
>> >	 * insertio events are actually managed by the PCMCIA layer.*/
>> >	u8				resource_setup_done:1;
>> >
>> >	/* It's old if resource setup is done using adjust_resource_info() */
>> >	u8				resource_setup_old:1;
>> >	u8				resource_setup_new:1;
>> >
>> >	u8				reserved:5;
>> 
>> meaningless bit-field?
>
>resource_setup_done is still needed.
>
>What about this patch?

OK. Thanks!




More information about the linux-pcmcia mailing list