OSDN Git Service

Input: cyapa - do not set otherwise unused variable
[uclinux-h8/linux.git] / drivers / input / mouse / cyapa_gen3.c
index 1e2291c..3faf01c 100644 (file)
@@ -950,14 +950,13 @@ static u16 cyapa_get_wait_time_for_pwr_cmd(u8 pwr_mode)
  * Device power mode can only be set when device is in operational mode.
  */
 static int cyapa_gen3_set_power_mode(struct cyapa *cyapa, u8 power_mode,
-               u16 always_unused)
+                                    u16 always_unused)
 {
        int ret;
        u8 power;
        int tries;
        u16 sleep_time;
 
-       always_unused = 0;
        if (cyapa->state != CYAPA_STATE_OP)
                return 0;