Skip to content

Commit 6c56026

Browse files
sudipm-mukherjeegregkh
authored andcommitted
drivers/misc/sgi-gru: remove unused variable
dw was only assigned some value and was never reused. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Acked-by: Dimitri Sivanich <sivanich@sgi.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent bba57f8 commit 6c56026

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/misc/sgi-gru/grukservices.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,6 @@ static int quicktest1(unsigned long arg)
10021002
{
10031003
struct gru_message_queue_desc mqd;
10041004
void *p, *mq;
1005-
unsigned long *dw;
10061005
int i, ret = -EIO;
10071006
char mes[GRU_CACHE_LINE_BYTES], *m;
10081007

@@ -1012,7 +1011,6 @@ static int quicktest1(unsigned long arg)
10121011
return -ENOMEM;
10131012
mq = ALIGNUP(p, 1024);
10141013
memset(mes, 0xee, sizeof(mes));
1015-
dw = mq;
10161014

10171015
gru_create_message_queue(&mqd, mq, 8 * GRU_CACHE_LINE_BYTES, 0, 0, 0);
10181016
for (i = 0; i < 6; i++) {

0 commit comments

Comments
 (0)