History

ipc: uninline functions

Two functions are only called via function pointers, don't bother inlining them.

Alexey Dobriyan committed 6 years ago

Commit 00898e81 parent a3ec9f32 files · +2 −4Browse files

Unified · Split

2 files
  1. ipc/sem.c +1 −2
  2. ipc/shm.c +1 −2
ipc/sem.c+1−2
@@ -585,8 +585,7 @@ static int newary(struct ipc_namespace *ns, struct ipc_params *params) · 584 unmodified lines
585585 /*
586586 * Called with sem_ids.rwsem and ipcp locked.
587587 */
588−static inline int sem_more_checks(struct kern_ipc_perm *ipcp,
589− struct ipc_params *params)
588+static int sem_more_checks(struct kern_ipc_perm *ipcp, struct ipc_params *params)
590589 {
591590 struct sem_array *sma;
592591
ipc/shm.c+1−2
@@ -711,8 +711,7 @@ no_file: · 710 unmodified lines
711711 /*
712712 * Called with shm_ids.rwsem and ipcp locked.
713713 */
714−static inline int shm_more_checks(struct kern_ipc_perm *ipcp,
715− struct ipc_params *params)
714+static int shm_more_checks(struct kern_ipc_perm *ipcp, struct ipc_params *params)
716715 {
717716 struct shmid_kernel *shp;
718717

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t