[TRIVIAL] remove agpgart_be.c unused variables

[TRIVIAL] remove agpgart_be.c unused variables

Post by kueb.. » Mon, 10 Jun 2002 04:20:09



This patch removes a few un-needed variables in agpgart_be.c.  Patch is
against 2.4.19-pre10.

--- linux-clean/drivers/char/agp/agpgart_be.c   Fri Jun  7 23:41:55 2002

 static void agp_generic_agp_enable(u32 mode)
 {
        struct pci_dev *device = NULL;
-       u32 command, scratch, cap_id;
+       u32 command, scratch;
        u8 cap_ptr;


 {
        struct pci_dev *dev = NULL;
        u8 cap_ptr = 0x00;
-       u32 cap_id, scratch;

        if ((dev = pci_find_class(PCI_CLASS_BRIDGE_HOST << 8, NULL)) == NULL)
                return -ENODEV;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. [TRIVIAL] remove unused label in dnotify.c

This patch removes an un-needed label in __inode_dir_notify().  Patch is
against 2.4.19-pre10.

Rob.

--- linux-clean/fs/dnotify.c    Fri Jun  7 23:42:06 2002

        }
        if (changed)
                redo_inode_mask(inode);
-out:
        write_unlock(&dn_lock);
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Writing device drivers

3. [TRIVIAL] Linux 2.4.21pre5-ac3 - remove unused var in ide-proc.c

4. Q: supporting Debian, FSF, EFF, etc.?

5. trivial - remove unused field

6. cron problem....

7. [PATCH][TRIVIAL] cpufreq/longrun.c : eliminate unused variable

8. DIP problem with Slackware 1.1.2

9. [PATCH][TRIVIAL] cpufreq/powernow-k6.c : eliminate unused variable

10. remove unused variable in wacom driver

11. remove an unused variable from xirc2ps_cs.c

12. Remove unused variable from rsdump.c

13. remove unused variable from drivers/net/irda/ali-ircc.c