[DragonFlyBSD - Bug #3071] (Closed) dragonfly/sys/dev/raid/mrsas/mrsas_fp.c: 3 * redundant code ?

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue Oct 10 14:23:19 PDT 2017


Issue #3071 has been updated by swildner.

Status changed from New to Closed

I've pushed the fix, thanks.


----------------------------------------
Bug #3071: dragonfly/sys/dev/raid/mrsas/mrsas_fp.c: 3 * redundant code ?
http://bugs.dragonflybsd.org/issues/3071#change-13261

* Author: dcb
* Status: Closed
* Priority: Low
* Assignee: 
* Category: Driver
* Target version: 
----------------------------------------
dragonfly/sys/dev/raid/mrsas/mrsas_fp.c:671]: (style) Redundant condition: do_invader. '!A || (A && B)' is equivalent to '!A || B'
dragonfly/sys/dev/raid/mrsas/mrsas_fp.c:1393]: (style) Redundant condition: do_invader. '!A || (A && B)' is equivalent to '!A || B'
dragonfly/sys/dev/raid/mrsas/mrsas_fp.c:1439]: (style) Variable 'debugBlk' is assigned a value that is never used.


---Files--------------------------------
0001-Simplify-redundant-conditions-and-remove-never-used-.patch (2.63 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list