diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2020-11-29 00:35:13 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2020-11-29 00:35:13 +0000 |
| commit | a93d2db0e733ffb6c13b9074eeb4c28c936d4229 (patch) | |
| tree | 67414ceb4aeda2744829c1ee21bd6ac4df6ce7ff /sys/dev/isp | |
| parent | ac90f70d1ec717a070d3370096f499daf3eef1ce (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp')
| -rw-r--r-- | sys/dev/isp/isp_library.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_library.h b/sys/dev/isp/isp_library.h index 09d2cf2f12ac..3c4d31e0bca5 100644 --- a/sys/dev/isp/isp_library.h +++ b/sys/dev/isp/isp_library.h @@ -53,7 +53,7 @@ void isp_destroy_handle(ispsoftc_t *, uint32_t); /* * Request Queue allocation */ -inline int +static inline int isp_rqentry_avail(ispsoftc_t *isp, uint32_t num) { if (ISP_QAVAIL(isp) >= num) @@ -63,7 +63,7 @@ isp_rqentry_avail(ispsoftc_t *isp, uint32_t num) return (ISP_QAVAIL(isp) >= num); } -inline void * +static inline void * isp_getrqentry(ispsoftc_t *isp) { if (!isp_rqentry_avail(isp, 1)) |
