]> git.sur5r.net Git - openocd/blobdiff - src/target/cortex_a.h
aarch64: clean up scan-build errors
[openocd] / src / target / cortex_a.h
index e6e9e97735fc76bb512412d21e1ebebbbab63e29..ff0343208e9dc053267e70d73e9fe7fa990e1f34 100644 (file)
@@ -25,8 +25,8 @@
  *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
-#ifndef CORTEX_A_H
-#define CORTEX_A_H
+#ifndef OPENOCD_TARGET_CORTEX_A_H
+#define OPENOCD_TARGET_CORTEX_A_H
 
 #include "armv7a.h"
 
@@ -97,8 +97,6 @@ struct cortex_a_common {
        int fast_reg_read;
 
        uint32_t cpuid;
-       uint32_t ctypr;
-       uint32_t ttypr;
        uint32_t didr;
 
        enum cortex_a_isrmasking_mode isrmasking_mode;
@@ -114,4 +112,4 @@ target_to_cortex_a(struct target *target)
        return container_of(target->arch_info, struct cortex_a_common, armv7a_common.arm);
 }
 
-#endif /* CORTEX_A_H */
+#endif /* OPENOCD_TARGET_CORTEX_A_H */