mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 22:48:23 +00:00
Fixes the following Coverity warning: ** CID 1539495: Integer handling issues (CONSTANT_EXPRESSION_RESULT) /bsps/shared/dev/rtc/mcp7940m.c: 317 in mcp7940m_set_time() Basically coverity warns that (buf[...] & 0x7) can't be bigger than 7. Just remove the unnecessary comparison.
This is supported by the mc146818a driver.