HomeFreeBSD

mpi3mr: Replace can't happen DataLength == 0 with an assert

Description

mpi3mr: Replace can't happen DataLength == 0 with an assert

Replace the test for DataLength == 0 with an assert. It can't happen,
but an assert doesn't hurt. Emacs removed some trailing white space too.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D42807

(cherry picked from commit 2361a0056fc16b5e11df2aa948aaa633ac01d685)

Details

Provenance
impAuthored on Nov 29 2023, 1:50 AM
mavCommitted on Jan 19 2024, 5:16 PM
Differential Revision
D42807: mpi3mr: Replace can't happen DataLength == 0 with an assert
Parents
rG23a5782dc0c0: mpi3mr: Use template for main busdma tag.
Branches
Unknown
Tags
Unknown