rt305x: address Clang warning
Needs ReviewPublic

Authored by emaste on Wed, Aug 30, 3:54 PM.

Details

Reviewers
adrian
imp
Summary

Clang reports 'va' may be used uninitialized. The warning is incorrect as type may be only SYS_RES_MEMORY or SYS_RES_IOPORT at that point, but drop one of the ifs to avoid the warning.

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped
emaste created this revision.Wed, Aug 30, 3:54 PM