Commit 9f1623fd authored by Johan Hovold's avatar Johan Hovold
Browse files

gnss: sirf: drop redundant double negation



The active flag is of type bool so drop the redundant double negation
when storing the gpio state.

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 4ceda5f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ static irqreturn_t sirf_wakeup_handler(int irq, void *dev_id)
	if (ret < 0)
		goto out;

	data->active = !!ret;
	data->active = ret;
	wake_up_interruptible(&data->power_wait);
out:
	return IRQ_HANDLED;