mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 11:47:43 +03:00
module: zfs: linux: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12844
This commit is contained in:
@@ -398,11 +398,11 @@ param_set_arc_int(const char *buf, zfs_kernel_param_t *kp)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_MEMORY_HOTPLUG
|
||||
/* ARGSUSED */
|
||||
static int
|
||||
arc_hotplug_callback(struct notifier_block *self, unsigned long action,
|
||||
void *arg)
|
||||
{
|
||||
(void) self, (void) arg;
|
||||
uint64_t allmem = arc_all_memory();
|
||||
if (action != MEM_ONLINE)
|
||||
return (NOTIFY_OK);
|
||||
@@ -458,6 +458,7 @@ arc_available_memory(void)
|
||||
int
|
||||
arc_memory_throttle(spa_t *spa, uint64_t reserve, uint64_t txg)
|
||||
{
|
||||
(void) spa, (void) reserve, (void) txg;
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user