Skip to content

Commit 6bc17d9

Browse files
montjoieherbertx
authored andcommitted
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>
1 parent 50fb570 commit 6bc17d9

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎drivers/char/hw_random/core.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
3131
*/
3232

33-
3433
#include <linux/device.h>
3534
#include <linux/hw_random.h>
3635
#include <linux/module.h>
@@ -45,12 +44,10 @@
4544
#include <linux/err.h>
4645
#include <linux/uaccess.h>
4746

48-
4947
#define RNG_MODULE_NAME "hw_random"
5048
#define PFX RNG_MODULE_NAME ": "
5149
#define RNG_MISCDEV_MINOR 183 /* official */
5250

53-
5451
static struct hwrng *current_rng;
5552
static struct task_struct *hwrng_fill;
5653
static LIST_HEAD(rng_list);
@@ -298,7 +295,6 @@ static ssize_t rng_dev_read(struct file *filp, char __user *buf,
298295
goto out;
299296
}
300297

301-
302298
static const struct file_operations rng_chrdev_ops = {
303299
.owner = THIS_MODULE,
304300
.open = rng_dev_open,
@@ -316,7 +312,6 @@ static struct miscdevice rng_miscdev = {
316312
.groups = rng_dev_groups,
317313
};
318314

319-
320315
static ssize_t hwrng_attr_current_store(struct device *dev,
321316
struct device_attribute *attr,
322317
const char *buf, size_t len)

0 commit comments

Comments
 (0)