Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3ac8480a authored by Tillmann Heidsieck's avatar Tillmann Heidsieck Committed by Greg Kroah-Hartman
Browse files

staging: wlan-ng remove unnessecary variable



The result variable is not set anywhere beyond its initialization,
therefore it can be remove.

Signed-off-by: default avatarTillmann Heidsieck <theidsieck@leenox.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c739c987
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -584,7 +584,6 @@ static int mkimage(struct imgchunk *clist, unsigned int *ccnt)
----------------------------------------------------------------*/
static int mkpdrlist(struct pda *pda)
{
	int result = 0;
	u16 *pda16 = (u16 *) pda->buf;
	int curroff;		/* in 'words' */

@@ -633,7 +632,7 @@ static int mkpdrlist(struct pda *pda)
	}
	pda->rec[pda->nrec] = (hfa384x_pdrec_t *) &(pda16[curroff]);
	(pda->nrec)++;
	return result;
	return 0;
}

/*----------------------------------------------------------------