Project

General

Profile

Actions

Bug #3071

closed

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

Added by dcb over 6 years ago. Updated over 6 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

Actions #1

Updated by lubos over 6 years ago

Thanks. Attaching patch.

--

Lubos Boucek

Actions #2

Updated by swildner over 6 years ago

  • Status changed from New to Closed

I've pushed the fix, thanks.

Actions

Also available in: Atom PDF