ss: Drop silly assignment

An expression of the form '(a | b) & b' will evaluate to the value of b
for any value of a or b.

Signed-off-by: Phil Sutter <phil@nwl.cc>
This commit is contained in:
Phil Sutter 2016-04-13 22:07:04 +02:00 committed by Stephen Hemminger
parent 1c346dccf8
commit 9d320e1e92
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ static void filter_default_dbs(struct filter *f)
static void filter_states_set(struct filter *f, int states)
{
if (states)
f->states = (f->states | states) & states;
f->states = states;
}
static void filter_merge_defaults(struct filter *f)