[NET]: Make all initialized struct seq_operations const.
[deliverable/linux.git] / net / 802 / tr.c
index eb2de0d162086c4d7f7404d5cb04a8d53c57c960..e56e61a7f5450ad783aa92a510dafab0a7309069 100644 (file)
@@ -554,7 +554,8 @@ static int rif_seq_show(struct seq_file *seq, void *v)
                                        if(j==1) {
                                                segment=ntohs(entry->rseg[j-1])>>4;
                                                seq_printf(seq,"  %03X",segment);
-                                       };
+                                       }
+
                                        segment=ntohs(entry->rseg[j])>>4;
                                        brdgnmb=ntohs(entry->rseg[j-1])&0x00f;
                                        seq_printf(seq,"-%01X-%03X",brdgnmb,segment);
@@ -566,7 +567,7 @@ static int rif_seq_show(struct seq_file *seq, void *v)
 }
 
 
-static struct seq_operations rif_seq_ops = {
+static const struct seq_operations rif_seq_ops = {
        .start = rif_seq_start,
        .next  = rif_seq_next,
        .stop  = rif_seq_stop,
This page took 0.038745 seconds and 5 git commands to generate.