aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Greer <mgreer@animalcreek.com>2017-06-12 15:43:19 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2017-11-10 00:23:57 +0100
commit53aa8919e0ef71b9f1c570bd0733a8d8422a0d86 (patch)
tree407bc237b4a2049a079b9da1c83c379c11fb61f1
parent68fd222e018bcf0cd481808eaf05c6a244b6969e (diff)
downloadneard-53aa8919e0ef71b9f1c570bd0733a8d8422a0d86.tar.gz
nfctype5: Remove superfluous parentheses
Remove the superfluous parentheses around calls to t5_manufacturer_stmicro(). Signed-off-by: Mark Greer <mgreer@animalcreek.com>
-rw-r--r--plugins/nfctype5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/nfctype5.c b/plugins/nfctype5.c
index 29e1d0c..9d09bf8 100644
--- a/plugins/nfctype5.c
+++ b/plugins/nfctype5.c
@@ -456,7 +456,7 @@ static int t5_write_resp(uint8_t *resp, int length, void *data)
goto out_done;
/* CMD_FLAG_OPTION should be set for non ST tags */
- if (!(t5_manufacturer_stmicro(tag)))
+ if (!t5_manufacturer_stmicro(tag))
t5_cmd->hdr.flags |= CMD_FLAG_OPTION;
t5_cmd->blk_no = cookie->blk;
@@ -515,7 +515,7 @@ static int t5_write(struct near_tag *tag, uint8_t offset, uint8_t *buf,
* does not work with ST Type5 tags.
* So, implemeting OPTION flag set only for non ST tags.
*/
- if (!(t5_manufacturer_stmicro(tag)))
+ if (!t5_manufacturer_stmicro(tag))
t5_cmd->hdr.flags |= CMD_FLAG_OPTION;
t5_cmd->blk_no = offset / blk_size;
@@ -1046,7 +1046,7 @@ static int t5_format_read_multiple_blocks_resp(uint8_t *resp, int length,
* lying in different sectors. So, doing multi block read
* support setting only for non ST tags.
*/
- if (!(t5_manufacturer_stmicro(tag))) {
+ if (!t5_manufacturer_stmicro(tag)) {
if (read_multiple_supported)
t5_cc.cc3 |= TYPE5_CC3_MBREAD_FLAG;
}