Skip to content
Commit 1a171626 authored by Geyslan G. Bem's avatar Geyslan G. Bem Committed by Felipe Balbi
Browse files

usb: musb: gadget: remove redundant condition



This patch removes redundant condition.

 (!A || (A && B)) is the same as (!A || B).

Fixes indentation too.

Tested by: compilation only
Caught by: cppcheck

Signed-off-by: default avatarGeyslan G. Bem <geyslan@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent ca070994
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment