Update mydriver.c

Clean code
Merge pull request #1 from GuillaumeGomez/patch-1

Update mydriver.c