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

Commit e4a18052 authored by Markus Elfring's avatar Markus Elfring Committed by Andy Shevchenko
Browse files

platform/x86: sony-laptop: Drop variable assignment in sony_nc_setup_rfkill()



The local variable "err" will eventually be set to an appropriate value
a bit later. Thus omit the explicit initialisation at the beginning.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent f6c8a317
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1627,7 +1627,7 @@ static const struct rfkill_ops sony_rfkill_ops = {
static int sony_nc_setup_rfkill(struct acpi_device *device,
				enum sony_nc_rfkill nc_type)
{
	int err = 0;
	int err;
	struct rfkill *rfk;
	enum rfkill_type type;
	const char *name;