Skip to content

Commit

Permalink
remove debugging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
agimenez committed Jan 17, 2020
1 parent ac6c64d commit 9c6dfad
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions happyb.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ static ssize_t happyb_read(struct file *file, char *buf, size_t count, loff_t *f
char msg[128];
int len;

pr_info("read: count: %ld, fpos: %lld", count, *f_pos);

len = snprintf(msg, sizeof msg, "Happy birthday, %s!\n", name);
if (*f_pos >= len) {
return 0;
Expand All @@ -43,8 +41,6 @@ static ssize_t happyb_write(struct file *file, const char *buf, size_t count, lo
int len = count;
int i;

pr_info("write: count: %ld, fpos: %lld", count, *f_pos);

if (len > MAX_NAME) {
len = MAX_NAME;
}
Expand Down

0 comments on commit 9c6dfad

Please sign in to comment.