audio/usb: Fix for condition

Pointed out by cppcheck.

Change-Id: Ief24915908bbab41955924279847ba56faa12b09
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3506
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
Murai Takashi 2020-12-14 20:05:08 +09:00 committed by Adrien Destugues
parent cdccd323b5
commit 799e367afd

View File

@ -231,7 +231,7 @@ _Terminal::_GetTerminalDescription(uint16 TerminalType)
{ USB_AUDIO_INSTRUMENT_IO, "Musical Instrument" }
};
for (size_t i = 0; B_COUNT_OF(termInfoPairs); i++)
for (size_t i = 0; i < B_COUNT_OF(termInfoPairs); i++)
if (termInfoPairs[i].type == TerminalType)
return termInfoPairs[i].description;