The patch titled Subject: tools/accounting/procacct: remove some unused variables has been added to the -mm mm-nonmm-unstable branch. Its filename is tools-accounting-procacct-remove-some-unused-variables.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/tools-accounting-procacct-remove-some-unused-variables.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Xiongfeng Wang <wangxiongfeng2@xxxxxxxxxx> Subject: tools/accounting/procacct: remove some unused variables Date: Mon, 31 Oct 2022 17:15:57 +0800 Drop the following unused variables inherited from getdelays.c: 'aggr_len', 'len2', 'cmd_type', 'tid', 'containerset', 'containerpath' and 'sigset'. Link: https://lkml.kernel.org/r/20221031091557.192180-1-wangxiongfeng2@xxxxxxxxxx Signed-off-by: Xiongfeng Wang <wangxiongfeng2@xxxxxxxxxx> Cc: "Dr. Thomas Orgis" <thomas.orgis@xxxxxxxxxxxxxx> Cc: Ismael Luceno <ismael@xxxxxxxxxxx> Cc: Xiongfeng Wang <wangxiongfeng2@xxxxxxxxxx> Cc: Yang Yingliang <yangyingliang@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/accounting/procacct.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) --- a/tools/accounting/procacct.c~tools-accounting-procacct-remove-some-unused-variables +++ a/tools/accounting/procacct.c @@ -261,25 +261,20 @@ void handle_aggr(int mother, struct nlat int main(int argc, char *argv[]) { - int c, rc, rep_len, aggr_len, len2; - int cmd_type = TASKSTATS_CMD_ATTR_UNSPEC; + int c, rc, rep_len; __u16 id; __u32 mypid; struct nlattr *na; int nl_sd = -1; int len = 0; - pid_t tid = 0; int fd = 0; int write_file = 0; int maskset = 0; char *logfile = NULL; - int containerset = 0; - char *containerpath = NULL; int cfd = 0; int forking = 0; - sigset_t sigset; struct msgtemplate msg; _ Patches currently in -mm which might be from wangxiongfeng2@xxxxxxxxxx are tools-accounting-procacct-remove-some-unused-variables.patch