adiv5: Removed an extraneous pair of perens as they suppress desirable warnings

This commit is contained in:
dragonmux 2022-07-25 17:08:25 +01:00 committed by Rachel Mant
parent 3592658a26
commit 6f81cb6a68
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ static void adiv5_component_probe(ADIv5_AP_t *ap, uint32_t addr, const size_t re
ap->designer_code = designer_code; ap->designer_code = designer_code;
ap->ap_partno = part_number; ap->ap_partno = part_number;
if ((ap->designer_code == JEP106_MANUFACTURER_ATMEL) && (ap->ap_partno == 0xcd0)) { if (ap->designer_code == JEP106_MANUFACTURER_ATMEL && ap->ap_partno == 0xcd0) {
uint32_t ctrlstat = adiv5_mem_read32(ap, SAMX5X_DSU_CTRLSTAT); uint32_t ctrlstat = adiv5_mem_read32(ap, SAMX5X_DSU_CTRLSTAT);
if (ctrlstat & SAMX5X_STATUSB_PROT) { if (ctrlstat & SAMX5X_STATUSB_PROT) {
/* A protected SAMx5x device is found. /* A protected SAMx5x device is found.