Merge tag 'driver-core-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-block.git] / arch / powerpc / perf / hv-24x7.c
index 057ec2e3451d19cb81d41668ca86e9649dc9c5e3..d400fa391c2765cf201ee4dc754007e655cc74ca 100644 (file)
@@ -425,16 +425,6 @@ static char *memdup_to_str(char *maybe_str, int max_len, gfp_t gfp)
        return kasprintf(gfp, "%.*s", max_len, maybe_str);
 }
 
-static ssize_t device_show_string(struct device *dev,
-               struct device_attribute *attr, char *buf)
-{
-       struct dev_ext_attribute *d;
-
-       d = container_of(attr, struct dev_ext_attribute, attr);
-
-       return sprintf(buf, "%s\n", (char *)d->var);
-}
-
 static ssize_t cpumask_show(struct device *dev,
                            struct device_attribute *attr, char *buf)
 {