The branch main has been updated by mav:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=22405bb2e45e1168d547b9238bf026b66f2d7543

commit 22405bb2e45e1168d547b9238bf026b66f2d7543
Author:     Alexander Motin <m...@freebsd.org>
AuthorDate: 2021-12-26 02:51:48 +0000
Commit:     Alexander Motin <m...@freebsd.org>
CommitDate: 2021-12-26 02:51:48 +0000

    pccbb: Remove Giant mention in comments.
    
    MFC after:      2 weeks
---
 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);
 }
 

Reply via email to