[DragonFlyBSD - Bug #3071] 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 10:12:40 PDT 2017


Issue #3071 has been updated by lubos.

File 0001-Simplify-redundant-conditions-and-remove-never-used-.patch added
Category changed from Other to Driver

Thanks. Attaching patch.

-- 

Lubos Boucek

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

* Author: dcb
* Status: New
* 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