chipsfb: remove redundant assignment
authorKrzysztof Helt <[email protected]>
Tue, 16 Jun 2009 22:34:22 +0000 (15:34 -0700)
committerLinus Torvalds <[email protected]>
Wed, 17 Jun 2009 02:47:58 +0000 (19:47 -0700)
The removed assignment is done inside the framebuffer_alloc() earlier.

Signed-off-by: Krzysztof Helt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/chipsfb.c

index 777389c40988812c29f5ad31c7c04cc700f6f690..57b9d276497ed07e485311f38e95c6ef86af870e 100644 (file)
@@ -414,7 +414,6 @@ chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent)
        }
 
        pci_set_drvdata(dp, p);
-       p->device = &dp->dev;
 
        init_chips(p, addr);