staging: comedi: drivers: comedi_bond.c: Remove unneeded #define
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sun, 2 Nov 2014 22:12:04 +0000 (23:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:34:18 +0000 (16:34 -0800)
Remove unneeded #define. This was previously included in a patch set
two but patchset one was taken by mistake.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/comedi_bond.c

index 5d19861fbabc8b13263c7b7c08139369cc5ce6e9..85b2f4ab1ba48f437bb968173e3cdd024bfe4f3d 100644 (file)
@@ -61,8 +61,7 @@ struct bonded_device {
 };
 
 struct comedi_bond_private {
-# define MAX_BOARD_NAME 256
-       char name[MAX_BOARD_NAME];
+       char name[256];
        struct bonded_device **devs;
        unsigned ndevs;
        unsigned nchans;