All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Palethorpe <rpalethorpe@suse.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v3 2/6] API/cgroups: Remove obsolete function in API
Date: Tue,  1 Jun 2021 11:55:17 +0100	[thread overview]
Message-ID: <20210601105521.27459-3-rpalethorpe@suse.com> (raw)
In-Reply-To: <20210601105521.27459-1-rpalethorpe@suse.com>

Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
---
 lib/tst_cgroup.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/lib/tst_cgroup.c b/lib/tst_cgroup.c
index 793a712e1..8fd5ab288 100644
--- a/lib/tst_cgroup.c
+++ b/lib/tst_cgroup.c
@@ -225,12 +225,6 @@ static void add_ctrl(uint32_t *const ctrl_field,
 	*ctrl_field |= 1 << ctrl->ctrl_indx;
 }
 
-__attribute__ ((warn_unused_result))
-struct cgroup_root *tst_cgroup_root_get(void)
-{
-	return roots[0].ver ? roots : roots + 1;
-}
-
 static int cgroup_v2_mounted(void)
 {
 	return !!roots[0].ver;
-- 
2.31.1


  parent reply	other threads:[~2021-06-01 10:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-01 10:55 [LTP] [PATCH v3 0/6] cfs_bandwidth01 and CGroup API Richard Palethorpe
2021-06-01 10:55 ` [LTP] [PATCH v3 1/6] API/cgroups: Allow fetching of CGroup name Richard Palethorpe
2021-06-01 10:55 ` Richard Palethorpe [this message]
2021-06-01 10:55 ` [LTP] [PATCH v3 3/6] API/cgroups: Add cpu controller Richard Palethorpe
2021-06-01 10:55 ` [LTP] [PATCH v3 4/6] API/cgroups: Auto add controllers to subtree_control in new subgroup Richard Palethorpe
2021-06-01 10:55 ` [LTP] [PATCH v3 5/6] API/cgroups: tst_require fail gracefully with unknown controller Richard Palethorpe
2021-06-01 10:55 ` [LTP] [PATCH v3 6/6] sched/cgroup: Add cfs_bandwidth01 Richard Palethorpe
2021-06-02  7:02 ` [LTP] [PATCH v3 0/6] cfs_bandwidth01 and CGroup API Li Wang
2021-06-02 10:05   ` Richard Palethorpe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210601105521.27459-3-rpalethorpe@suse.com \
    --to=rpalethorpe@suse.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.