Remove unneeded #define. This was previously included in a patch set
two but patchset one was taken by mistake.
Signed-off-by: Rickard Strandqvist <[email protected]>
---
drivers/staging/comedi/drivers/comedi_bond.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/comedi/drivers/comedi_bond.c b/drivers/staging/comedi/drivers/comedi_bond.c
index 5d19861..85b2f4a 100644
--- a/drivers/staging/comedi/drivers/comedi_bond.c
+++ b/drivers/staging/comedi/drivers/comedi_bond.c
@@ -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;
--
1.7.10.4
On 02/11/14 22:12, Rickard Strandqvist wrote:
> Remove unneeded #define. This was previously included in a patch set
> two but patchset one was taken by mistake.
>
> Signed-off-by: Rickard Strandqvist <[email protected]>
> ---
> drivers/staging/comedi/drivers/comedi_bond.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/staging/comedi/drivers/comedi_bond.c b/drivers/staging/comedi/drivers/comedi_bond.c
> index 5d19861..85b2f4a 100644
> --- a/drivers/staging/comedi/drivers/comedi_bond.c
> +++ b/drivers/staging/comedi/drivers/comedi_bond.c
> @@ -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;
>
Reviewed-by: Ian Abbott <[email protected]>
--
-=( Ian Abbott @ MEV Ltd. E-mail: <[email protected]> )=-
-=( Web: http://www.mev.co.uk/ )=-