Re: another IDE cleanup: kill duplicated code

Martin Dalecki
2002-02-12T12:50:56Z

Vojtech Pavlik wrote:

>------------------------------------------------------------------------
>
>diff -urN linux-2.5.4/drivers/ide/ide-cd.c linux-2.5.4-ideclean/drivers/ide/ide-cd.c
>--- linux-2.5.4/drivers/ide/ide-cd.c Thu Jan 31 16:45:20 2002
>+++ linux-2.5.4-ideclean/drivers/ide/ide-cd.c Tue Feb 12 12:34:48 2002
>@@ -2662,8 +2662,6 @@
> int major = HWIF(drive)->major;
> int minor = drive->select.b.unit << PARTN_BITS;
>
>
Please note that the two line above can be killed then as well. More
recent gcc version
report this now as unused.