Project

General

Profile

Bug #3071

dragonfly/sys/dev/raid/mrsas/mrsas_fp.c: 3 * redundant code ?

Added by dcb over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Driver
Target version:
-
Start date:
10/10/2017
Due date:
% Done:

0%

Estimated time:

Description

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

History

#1

Updated by lubos over 2 years ago

Thanks. Attaching patch.

--

Lubos Boucek

#2

Updated by swildner over 2 years ago

  • Status changed from New to Closed

I've pushed the fix, thanks.

Also available in: Atom PDF