[Bug 228694] [patch] unused argument in turnstile_unpend

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 2 15:39:45 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228694

            Bug ID: 228694
           Summary: [patch] unused argument in turnstile_unpend
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: julian.pszczolowski at gmail.com

Created attachment 193934
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193934&action=edit
Patch that deletes unused argument

In file sys/kern/subr_turnstile.c I see that argument owner_type of function
turnstile_unpend is unused.

I have attached a patch that deletes this argument, fixes turnstile_unpend
calls and deletes TS_SHARED_LOCK and TS_EXCLUSIVE_LOCK defines, which are now
unused as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list