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: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
f6c8a317ab
commit
e4a18052bb
|
@ -1627,7 +1627,7 @@ static const struct rfkill_ops sony_rfkill_ops = {
|
||||||
static int sony_nc_setup_rfkill(struct acpi_device *device,
|
static int sony_nc_setup_rfkill(struct acpi_device *device,
|
||||||
enum sony_nc_rfkill nc_type)
|
enum sony_nc_rfkill nc_type)
|
||||||
{
|
{
|
||||||
int err = 0;
|
int err;
|
||||||
struct rfkill *rfk;
|
struct rfkill *rfk;
|
||||||
enum rfkill_type type;
|
enum rfkill_type type;
|
||||||
const char *name;
|
const char *name;
|
||||||
|
|
Loading…
Reference in New Issue