| Summary: | [patch] unused argument in turnstile_unpend | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Julian Pszczołowski <julian.pszczolowski> | ||||
| Component: | kern | Assignee: | Mateusz Guzik <mjg> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | mjg | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
A commit references this bug: Author: mjg Date: Sat Jun 2 22:37:54 UTC 2018 New revision: 334546 URL: https://svnweb.freebsd.org/changeset/base/334546 Log: Remove an unused argument to turnstile_unpend. PR: 228694 Submitted by: Julian Pszczo?owski <julian.pszczolowski@gmail.com> Changes: head/sys/amd64/amd64/pmap.c head/sys/kern/kern_mutex.c head/sys/kern/kern_rmlock.c head/sys/kern/kern_rwlock.c head/sys/kern/subr_turnstile.c head/sys/sys/turnstile.h Thanks for the submission! |
Created attachment 193934 [details] 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.