Commit b4494f96 authored by Peter Osterlund's avatar Peter Osterlund Committed by Linus Torvalds

[PATCH] pktcdvd: grep-friendly function prototypes

Put function prototypes on a single source line to make them more
grep-friendly.
Signed-off-by: default avatarPeter Osterlund <petero2@telia.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a6a997ad
...@@ -605,8 +605,7 @@ static int pkt_set_segment_merging(struct pktcdvd_device *pd, request_queue_t *q ...@@ -605,8 +605,7 @@ static int pkt_set_segment_merging(struct pktcdvd_device *pd, request_queue_t *q
/* /*
* Copy CD_FRAMESIZE bytes from src_bio into a destination page * Copy CD_FRAMESIZE bytes from src_bio into a destination page
*/ */
static void pkt_copy_bio_data(struct bio *src_bio, int seg, int offs, static void pkt_copy_bio_data(struct bio *src_bio, int seg, int offs, struct page *dst_page, int dst_offs)
struct page *dst_page, int dst_offs)
{ {
unsigned int copy_size = CD_FRAMESIZE; unsigned int copy_size = CD_FRAMESIZE;
...@@ -1299,8 +1298,7 @@ static void pkt_print_settings(struct pktcdvd_device *pd) ...@@ -1299,8 +1298,7 @@ static void pkt_print_settings(struct pktcdvd_device *pd)
printk("Mode-%c disc\n", pd->settings.block_mode == 8 ? '1' : '2'); printk("Mode-%c disc\n", pd->settings.block_mode == 8 ? '1' : '2');
} }
static int pkt_mode_sense(struct pktcdvd_device *pd, struct packet_command *cgc, static int pkt_mode_sense(struct pktcdvd_device *pd, struct packet_command *cgc, int page_code, int page_control)
int page_code, int page_control)
{ {
memset(cgc->cmd, 0, sizeof(cgc->cmd)); memset(cgc->cmd, 0, sizeof(cgc->cmd));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment