aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/pin-init/internal/src
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-07-02 10:32:24 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-07-22 13:06:01 +0200
commitbbe8d4fef308cddd11b2e766c8710d318334b88b (patch)
tree38c223e9a1226eb9da8d9c7bb1867a4ccc6967f1 /rust/pin-init/internal/src
parentrtc: sysfs: Use sysfs_emit() to instead of s*printf() (diff)
downloadwireguard-linux-bbe8d4fef308cddd11b2e766c8710d318334b88b.tar.xz
wireguard-linux-bbe8d4fef308cddd11b2e766c8710d318334b88b.zip
rtc: sysfs: Bail out earlier if no new groups provided
When there is no new groups provided, no need to reallocate memory, copy the old ones and free them in order to do nothing. Do nothing instead. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20250702073224.2684097-1-andriy.shevchenko@linux.intel.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions