diff options
author | Benjamin Poirier <bpoirier@suse.com> | 2019-09-27 13:12:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-04 18:17:46 +0300 |
commit | 7be4c3f92077e4c5e1423edc5056c890f8bddfc7 (patch) | |
tree | aa571d591b3d5621a0d433640ec4200e52313b42 /drivers/staging/qlge | |
parent | ec705b983b46b8e2d3cafd40c188458bf4241f11 (diff) | |
download | linux-7be4c3f92077e4c5e1423edc5056c890f8bddfc7.tar.xz |
staging: qlge: Remove useless memset
This just repeats what the other memset a few lines above did.
Signed-off-by: Benjamin Poirier <bpoirier@suse.com>
Link: https://lore.kernel.org/r/20190927101210.23856-14-bpoirier@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/qlge')
-rw-r--r-- | drivers/staging/qlge/qlge_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c index ef33db118aa1..8da596922582 100644 --- a/drivers/staging/qlge/qlge_main.c +++ b/drivers/staging/qlge/qlge_main.c @@ -2812,7 +2812,6 @@ static int qlge_init_bq(struct qlge_bq *bq) buf_ptr = bq->base; bq_desc = &bq->queue[0]; for (i = 0; i < QLGE_BQ_LEN; i++, buf_ptr++, bq_desc++) { - memset(bq_desc, 0, sizeof(*bq_desc)); bq_desc->index = i; bq_desc->buf_ptr = buf_ptr; } |