Skip to content

Commit

Permalink
post: Delete unnecessary bitmask of POST_MANUAL from POST_ALWAYS
Browse files Browse the repository at this point in the history
Since POST_ALWAYS is defined as:

#define POST_ALWAYS             (POST_NORMAL    | \
                                 POST_SLOWTEST  | \
                                 POST_MANUAL    | \
                                 POST_POWERON   )

there is no need to redundantly bitmask it with POST_MANUAL.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
  • Loading branch information
rpjday authored and trini committed Apr 1, 2016
1 parent 92a4c3d commit 5735bca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions post/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ struct post_test post_list[] =
"ETHERNET test",
"ethernet",
"This test verifies the ETHERNET operation.",
POST_RAM | POST_ALWAYS | POST_MANUAL,
POST_RAM | POST_ALWAYS,
&ether_post_test,
NULL,
NULL,
Expand All @@ -185,7 +185,7 @@ struct post_test post_list[] =
"SPI test",
"spi",
"This test verifies the SPI operation.",
POST_RAM | POST_ALWAYS | POST_MANUAL,
POST_RAM | POST_ALWAYS,
&spi_post_test,
NULL,
NULL,
Expand All @@ -197,7 +197,7 @@ struct post_test post_list[] =
"USB test",
"usb",
"This test verifies the USB operation.",
POST_RAM | POST_ALWAYS | POST_MANUAL,
POST_RAM | POST_ALWAYS,
&usb_post_test,
NULL,
NULL,
Expand Down Expand Up @@ -233,7 +233,7 @@ struct post_test post_list[] =
"DSP test",
"dsp",
"This test checks any connected DSP(s).",
POST_RAM | POST_ALWAYS | POST_MANUAL,
POST_RAM | POST_ALWAYS,
&dsp_post_test,
NULL,
NULL,
Expand Down

0 comments on commit 5735bca

Please sign in to comment.