udev: drop meaningless size optimization
These objects are not allocated multiple times simultaneously per single process.
This commit is contained in:
parent
19d43808bd
commit
481f24d1f6
|
@ -44,10 +44,10 @@ struct udev_ctrl {
|
|||
int sock_connect;
|
||||
union sockaddr_union saddr;
|
||||
socklen_t addrlen;
|
||||
bool bound:1;
|
||||
bool cleanup_socket:1;
|
||||
bool connected:1;
|
||||
bool maybe_disconnected:1;
|
||||
bool bound;
|
||||
bool cleanup_socket;
|
||||
bool connected;
|
||||
bool maybe_disconnected;
|
||||
sd_event *event;
|
||||
sd_event_source *event_source;
|
||||
sd_event_source *event_source_connect;
|
||||
|
|
|
@ -34,14 +34,14 @@ typedef struct UdevEvent {
|
|||
unsigned builtin_run;
|
||||
unsigned builtin_ret;
|
||||
UdevRuleEscapeType esc:8;
|
||||
bool inotify_watch:1;
|
||||
bool inotify_watch_final:1;
|
||||
bool group_final:1;
|
||||
bool owner_final:1;
|
||||
bool mode_final:1;
|
||||
bool name_final:1;
|
||||
bool devlink_final:1;
|
||||
bool run_final:1;
|
||||
bool inotify_watch;
|
||||
bool inotify_watch_final;
|
||||
bool group_final;
|
||||
bool owner_final;
|
||||
bool mode_final;
|
||||
bool name_final;
|
||||
bool devlink_final;
|
||||
bool run_final;
|
||||
} UdevEvent;
|
||||
|
||||
UdevEvent *udev_event_new(sd_device *dev, usec_t exec_delay_usec, sd_netlink *rtnl);
|
||||
|
|
|
@ -100,8 +100,8 @@ typedef struct Manager {
|
|||
|
||||
usec_t last_usec;
|
||||
|
||||
bool stop_exec_queue:1;
|
||||
bool exit:1;
|
||||
bool stop_exec_queue;
|
||||
bool exit;
|
||||
} Manager;
|
||||
|
||||
enum event_state {
|
||||
|
|
Loading…
Reference in New Issue