Skip to content

Commit a1a77d0

Browse files
corsair-hydro-platinum: Remove unused variable to make CI happy
Signed-off-by: Jack Greiner <jack@emoss.org>
1 parent c9afb55 commit a1a77d0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/hwmon/corsair-hydro-platinum.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ static int hydro_platinum_send_command(struct hydro_platinum_data *priv, u8 feat
193193
static int hydro_platinum_transaction(struct hydro_platinum_data *priv, u8 feature, u8 command, u8 *data, int data_len)
194194
{
195195
int ret;
196-
u8 sent_seq;
197196

198197
reinit_completion(&priv->wait_for_report);
199198

@@ -203,8 +202,6 @@ static int hydro_platinum_transaction(struct hydro_platinum_data *priv, u8 featu
203202
return ret;
204203
}
205204

206-
sent_seq = priv->sequence;
207-
208205
ret = wait_for_completion_interruptible_timeout(&priv->wait_for_report, msecs_to_jiffies(500));
209206
if (ret == 0) {
210207
hid_warn_ratelimited(priv->hdev, "Timeout waiting for response to command %02x\n", command);

0 commit comments

Comments
 (0)