git: 6bc8606fca8d - stable/13 - pccbb: Remove Giant mention in comments.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jan 2022 01:27:45 UTC
The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=6bc8606fca8d654a56db74045910e55dd1dbbf39 commit 6bc8606fca8d654a56db74045910e55dd1dbbf39 Author: Alexander Motin <mav@FreeBSD.org> AuthorDate: 2021-12-26 02:51:48 +0000 Commit: Alexander Motin <mav@FreeBSD.org> CommitDate: 2022-01-09 01:24:13 +0000 pccbb: Remove Giant mention in comments. MFC after: 2 weeks (cherry picked from commit 22405bb2e45e1168d547b9238bf026b66f2d7543) --- sys/dev/pccbb/pccbb.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index c518551e1b43..cc733d6b798f 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -603,11 +603,7 @@ cbb_func_filt(void *arg) return (FILTER_HANDLED); } - /* - * nb: don't have to check for giant or not, since that's done in the - * ISR dispatch and one can't hold Giant in a filter anyway... - */ - return ((*ih->filt)(ih->arg)); + return ((*ih->filt)(ih->arg)); } static void @@ -638,11 +634,6 @@ cbb_func_intr(void *arg) } } - /* - * Call the registered ithread interrupt handler. This entire routine - * will be called with Giant if this isn't an MP safe driver, or not - * if it is. Either way, we don't have to worry. - */ ih->intr(ih->arg); }