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

Commit 8e12381b authored by Federico Vaga's avatar Federico Vaga Committed by Greg Kroah-Hartman
Browse files

drivers/fmc: remove unused variable

parent 02729d17
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -31,12 +31,11 @@ static char *__fru_alloc_get_tl(struct fru_common_header *header, int nr)
{
	struct fru_type_length *tl;
	char *res;
	int len;

	tl = __fru_get_board_tl(header, nr);
	if (!tl)
		return NULL;
	len = fru_strlen(tl);

	res = fru_alloc(fru_strlen(tl) + 1);
	if (!res)
		return NULL;