mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 06:17:30 +08:00
Disable unused pfil_try_rlock()
This commit is contained in:
@@ -105,6 +105,7 @@ pfil_chain_get(int dir, struct pfil_head *ph)
|
|||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
/*
|
/*
|
||||||
* pfil_try_rlock() acquires rm reader lock for specified head
|
* pfil_try_rlock() acquires rm reader lock for specified head
|
||||||
* if this is immediately possible.
|
* if this is immediately possible.
|
||||||
@@ -115,6 +116,7 @@ pfil_try_rlock(struct pfil_head *ph, struct rm_priotracker *tracker)
|
|||||||
|
|
||||||
return (PFIL_TRY_RLOCK(ph, tracker));
|
return (PFIL_TRY_RLOCK(ph, tracker));
|
||||||
}
|
}
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* pfil_rlock() acquires rm reader lock for specified head.
|
* pfil_rlock() acquires rm reader lock for specified head.
|
||||||
|
Reference in New Issue
Block a user