Update mydriver.c

Clean code