diff options
author | Corentin LABBE <clabbe.montjoie@gmail.com> | 2016-12-13 15:51:09 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-12-27 17:49:09 +0800 |
commit | 6bc17d90e62d16828d1a2113b54cfa4e04582fb6 (patch) | |
tree | 03157957803c7b791404b408dda555d3939ef6c5 /drivers/char/hw_random | |
parent | 50fb57042402c819d247ac4231b80b0da86e2fd7 (diff) |
hwrng: core - do not use multiple blank lines
This patch fix the checkpatch warning "Please don't use multiple blank lines"
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random')
-rw-r--r-- | drivers/char/hw_random/core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index 6ce5ce8be2f2..4d03b9798e25 100644 --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c @@ -30,7 +30,6 @@ */ - #include <linux/device.h> #include <linux/hw_random.h> #include <linux/module.h> @@ -45,12 +44,10 @@ #include <linux/err.h> #include <linux/uaccess.h> - #define RNG_MODULE_NAME "hw_random" #define PFX RNG_MODULE_NAME ": " #define RNG_MISCDEV_MINOR 183 /* official */ - static struct hwrng *current_rng; static struct task_struct *hwrng_fill; static LIST_HEAD(rng_list); @@ -298,7 +295,6 @@ out_put: goto out; } - static const struct file_operations rng_chrdev_ops = { .owner = THIS_MODULE, .open = rng_dev_open, @@ -316,7 +312,6 @@ static struct miscdevice rng_miscdev = { .groups = rng_dev_groups, }; - static ssize_t hwrng_attr_current_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) |